﻿<%@ Register TagPrefix="it" TagName="PickProject" Src="~/UserControls/PickProject.ascx" %>
<%@ Register TagPrefix="it" TagName="Footer" Src="~/UserControls/Footer.ascx" %>
<%@ Register TagPrefix="it" TagName="Header" Src="~/UserControls/Header.ascx" %>
<%@ Register TagPrefix="it" TagName="AdminTabs" Src="~/Administration/UserControls/AdminTabs.ascx" %>

<%@ Page Language="c#" CodeBehind="CloneProject.aspx.cs" AutoEventWireup="false"
    Inherits="ACRSAP.Administration.Projects.CloneProject" %>

<it:Header Title="Project List" TabName="Administration" runat="server" ID="Header1" />
<form runat="server">
<it:AdminTabs CurrentTabName="Projects" runat="server" ID="AdminTabs1" />
<table>
    <tr>
        <td>
            <p>
                When you clone a project, you make a copy of the project. For example, you make
                a copy of all of the project's categories, milestones, and custom fields. However,
                when you clone a project, issues are not copied to the new project.
            </p>
            <asp:label id="lblError" enableviewstate="false" runat="Server" />
            <table cellpadding="5">
                <tr>
                    <td align="right">
                        <b>Existing Project Name:</b>
                    </td>
                    <td>
                        <it:PickProject ID="dropProjects" DisplayDefault="true" Required="true" runat="Server" />
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>New Project Name:</b>
                    </td>
                    <td>
                        <asp:textbox id="txtNewProjectName" runat="Server" />
                        <asp:requiredfieldvalidator controltovalidate="txtNewProjectName" text="(required)"
                            runat="server" id="RequiredFieldValidator1" />
                    </td>
                </tr>
            </table>
            <p>
                <asp:button id="btnClone" text="Clone Project" runat="Server" />
                &nbsp;&nbsp;
                <asp:button id="btnCancel" text="Cancel" causesvalidation="false" runat="Server" />
            </p>
        </td>
    </tr>
</table>
</form>
<it:Footer runat="server" ID="Footer1" />
